﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucGetByTheLoai.ascx.cs" Inherits="Indochinaodyssey.UserControl.Tour_Sapa.ucGetByTheLoai" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadListView ID="RadListView1" runat="server" AllowPaging="True" DataSourceID="odsTour">
    <ItemTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td colspan="2" valign="top" style="padding: 5px 5px 5px 5px;">
                        <a href='?tourid=<%# Eval("ID") %>'
                            class="link_title"><%# Eval("TieuDe") %></a>
                        
                    </td>
                </tr>
                <tr>
                    <td width="107" valign="top" style="padding: 5px 5px 5px 5px;">
                        <img src='Images/HinhAnh/<%# Eval("HinhAnh") %>'
                            width="100" height="80">
                    </td>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td>
                                        <p align="justify">
                                            <span style="font-size: 10pt"><font face="Arial"><%# Eval("Summany")%></font></span>
                                        </p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div align="right">
                                            <a href='sapa-tour.aspx?tourid=<%# Eval("ID") %>'
                                                class="Details">Details</a>|&nbsp;&nbsp;<a href='book-this-tour.aspx?tourid=<%#Eval("id")%>&name=<%#Eval("TieuDe") %>'
                                                    class="Details">Book now</a></div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </ItemTemplate>
</telerik:RadListView>
<asp:ObjectDataSource ID="odsTour" runat="server" 
    SelectMethod="Tour_getByTheLoai" TypeName="IOBusiness.ClassLinq.clsLqTours">
    <SelectParameters>
        <asp:QueryStringParameter Name="idTheLoai" QueryStringField="typeid" 
            Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
